@ECHO OFF
cd /d %~dp0
git config pull.rebase true
git config user.email "api@php.net"
git config user.name "api"
git config core.safecrlf warn
git config core.autocrlf true
git remote rm origin
git remote add origin https://gitee.com/firadio/firadio-yun-php-admin.git
cd ../../
ECHO =========git diff============
git diff
ECHO =========git add *============
PAUSE
git add --all
ECHO =========git commit ^&^& git pull============
PAUSE
git commit
git pull origin master
ECHO =========git push origin master============
PAUSE
git push origin master
ECHO =========EXIT============
PAUSE
EXIT
